//
//  StoreInfoModel.m
//  WGFGlobalHouses
//
//  Created by waiguofang on 15/6/3.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//  门店显示信息

#import "StoreInfoModel.h"

@implementation StoreInfoModel

-(instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        
        self.storeId = [NSString stringWithFormat:@"%@",dict[@"storeId"]];
        self.storeCode = [NSString stringWithFormat:@"%@",dict[@"storeCode"]];
        self.storeName = [NSString stringWithFormat:@"%@",dict[@"storeName"]];
        self.brokerages = [NSString stringWithFormat:@"%@",dict[@"brokerages"]];
        self.brokeCounts = [dict[@"brokeCounts"]integerValue];
        self.status = [dict[@"status"]integerValue];
        self.isSeleted = NO;
    }
    
    return self;
}

+(instancetype)storeInfoModelWithDict:(NSDictionary *)dict
{
    return [[self alloc]initWithDict:dict];
}

@end
